package com.navinfo.opentsp.platform.computing.dto;


import com.navinfo.opentsp.platform.computing.util.EntityConvert;
import com.navinfo.opentsp.platform.location.protocol.common.LCPredictiveMaintenance;
import com.navinfo.opentsp.platform.location.protocol.common.LCPredictiveMaintenanceD00B;

public class MaintenanceEvent6D00BDto {






    public static MaintenanceEvent6D00BDto parseProto(LCPredictiveMaintenanceD00B.MaintenanceEvent6 maintenanceEvent6){
        MaintenanceEvent6D00BDto maintenanceEvent6Dto = new MaintenanceEvent6D00BDto();



        return maintenanceEvent6Dto;
    }

    /**
     * 解析成String拼接字符串
     * @param maintenanceEvent6
     * @return
     */
    public static String parseString(LCPredictiveMaintenanceD00B.MaintenanceEvent6 maintenanceEvent6){
//        return EntityConvert.convert();
        return "";
    }

    /**
     * 反解析成PB对象
     * @param str
     * @return
     */
    public static LCPredictiveMaintenanceD00B.MaintenanceEvent6 parsePB(String str){
        LCPredictiveMaintenanceD00B.MaintenanceEvent6.Builder builder = null;
        try{
            String[] revert = EntityConvert.revert(str);

        }catch (Exception e){
            e.printStackTrace();
        }

        return builder==null? null : builder.build();
    }

}
